package com.kabigon.tiny.exception;

import com.kabigon.tiny.constant.IResponseEnum;

/**
 * 校验异常
 * 调用接口是，参数格式不合法可以抛出该异常
 * @author xu.biao
 * @version v1.0
 * @Package com.kabigon.tiny.exception
 * @data 2022/5/6 23:18
 */
public class ValidationException extends BaseException{
    private static final long serialVersionUID = -3759219062386814388L;

    public ValidationException(IResponseEnum responseEnum, Object[] args, String message) {
        super(responseEnum, args, message);
    }

    public ValidationException(IResponseEnum responseEnum, Object[] args, String message, Throwable cause) {
        super(responseEnum, args, message, cause);
    }
}
